package com.dotflat.staffExtend.repository;

import com.dotflat.staffExtend.domain.StaffExtendInfoRankLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface StaffExtendInfoRankLogRepository extends JpaRepository<StaffExtendInfoRankLog, String>, JpaSpecificationExecutor<StaffExtendInfoRankLog> {

    StaffExtendInfoRankLog findFirstByAreaIdAndStaffIdAndCreatedByAndRankCircleId(String areaId, String staffId, String createdBy, String circleId);

}
